﻿<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" contentType="text/html;charset=UTF-8" pageEncoding="utf-8" %>

<form id="form1">
    <div class='myzh_right_content fr'>
        <p class='right_head_title'><span class="span1">我的 ></span> 操作</p>
        <div class="recharge-content">
				<input type="hidden" id="id" name="id" value="${data.id}"/>
			    <div class="mt-10">
                <span class="fl mt-3 w-120">转账流水号：</span>
                <input type="text" class="txt txt-1 fl w-220" id="trans_id" name="trans_id" value="${data.trans_id}">
                <div class="cl"></div>
				</div>
			    <div class="mt-10">
                <span class="fl mt-3 w-120">账户ID：</span>
                <input type="text" class="txt txt-1 fl w-220" id="account_no" name="account_no" value="${data.account_no}">
                <div class="cl"></div>
				</div>
			    <div class="mt-10">
                <span class="fl mt-3 w-120">操作金额：</span>
                <input type="text" class="txt txt-1 fl w-220" id="amount" name="amount" value="${data.amount}">
                <div class="cl"></div>
				</div>
			    <div class="mt-10">
                <span class="fl mt-3 w-120">操作币种：</span>
                <input type="text" class="txt txt-1 fl w-220" id="amount_type" name="amount_type" value="${data.amount_type}">
                <div class="cl"></div>
				</div>
			    <div class="mt-10">
                <span class="fl mt-3 w-120">流水类型:收入、支出、冻结、解冻,交易手续费：</span>
                <input type="text" class="txt txt-1 fl w-220" id="type" name="type" value="${data.type}">
                <div class="cl"></div>
				</div>
			    <div class="mt-10">
                <span class="fl mt-3 w-120">账务操作代码：</span>
                <input type="text" class="txt txt-1 fl w-220" id="trans_code" name="trans_code" value="${data.trans_code}">
                <div class="cl"></div>
				</div>
			    <div class="mt-10">
                <span class="fl mt-3 w-120">转账描述：</span>
                <input type="text" class="txt txt-1 fl w-220" id="trans_memo" name="trans_memo" value="${data.trans_memo}">
                <div class="cl"></div>
				</div>
			    <div class="mt-10">
                <span class="fl mt-3 w-120">外部流水号：</span>
                <input type="text" class="txt txt-1 fl w-220" id="out_order_no" name="out_order_no" value="${data.out_order_no}">
                <div class="cl"></div>
				</div>
			    <div class="mt-10">
                <span class="fl mt-3 w-120">创建时间：</span>
                <input type="text" class="txt txt-1 fl w-220" id="create_time" name="create_time" value="${data.create_time}">
                <div class="cl"></div>
				</div>
			    <div class="mt-10">
                <span class="fl mt-3 w-120">修改时间：</span>
                <input type="text" class="txt txt-1 fl w-220" id="modify_time" name="modify_time" value="${data.modify_time}">
                <div class="cl"></div>
				</div>
			    <div class="mt-10">
                <span class="fl mt-3 w-120">用户编号：</span>
                <input type="text" class="txt txt-1 fl w-220" id="user_id" name="user_id" value="${data.user_id}">
                <div class="cl"></div>
				</div>
           
            <div class="mt-30 ml-10">
                <input type="button" class="btn btn-1 fl w-100" value="${title}" onclick="add()">
                <input type="button" class="btn btn-2 fl w-100 ml-20" value="返回" onclick="window.location='${basePath}/t_account_log/list'">
            </div>
        </div>
    </div>
</form>
<div class='clear'></div>
<script  type="text/javascript">
    function add() {
        $.post("${basePath}/ajax/t_account_log/add", $("#form1").serialize(), function(d){
            if (d.code==1) {
                alert("成功");
                window.location = "${basePath}/t_account_log/list";
                return;
            }
            alert("失败");
        });
    }
</script>


